//
//  UtilsMacro.swift
//  Swift-WB
//
//  Created by lxy on 2017/6/12.
//  Copyright © 2017年 lixiya. All rights reserved.
//

import Foundation

//MARK: - 打印日志
func PLog<T>(_ message : T, file : String = #file, funcName : String = #function, lineNum : Int = #line) {
    #if DEBUG
        let fileName = (file as NSString).lastPathComponent
        print("\(fileName):(\(lineNum))-\(message)")
    #endif
}
